#pragma once
#include "GameObject.h"
#include "Player.h"
#include "VisualObject.h"

class Sparks :
	public GameObject
{
public:
	Sparks(PlayerPosition pos, VisualObject* vObj, GameObject *ball);
	~Sparks(void);
	bool canBeDeleted();

	virtual void update(const double time);
	virtual void getReadyForDraw();

private:
	PlayerPosition playerposition;
	VisualObject* visualobject;
	GameObject* ball;

	double totalLifeTime;
	double timeAlive;
	bool canDie;
};
